﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ContributionDeposit.CoreFrontEnd;
using Models.DataModel;
using System.Threading.Tasks;
namespace ContributionDeposit.Controllers
{
    //[Authorize]
    public class HomeController : Core_FrontEnd
    {
        
        public ActionResult Index()
        {
            CheckUserLogin = CheckLogin();
            if (CheckUserLogin == true)
                return View();
            else
            {
                return RedirectToAction("Login", "Account");
            }
        }
    }
}